﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo
{
    class userInfo
    {
        public int account { get; set; }
        public string name { get; set; }
        public int password { get; set; }
        public void PrintMsg() 
        {
            Console.WriteLine("您的帐号是:{0}","用户名是:{1}","密码是:{2}", account, name, password);
        }

    }
}
